package cn.wolfcode.designpattern.iterator;

/**
 * @author Leon
 * @date 2021/3/4
 * 抽象迭代器
 */
public interface Iterator<T> {

    T first();

    T next();

    boolean hasNext();
}
